package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.article.query.DestinationQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDestinationService {
    List<Destination> getDestByDeep(int deep);

    List<Destination> queryRefByIds(Long[] refIds);

    PageInfo<Destination> listByPage(DestinationQuery qo);

    void deleteById(Long id);

    void changeHotValue(Long id, boolean hot);

    void updateInfoById(Long id, String info);

    Destination queryRegionById(Long id);

    List<Destination>  creatToasts(Long id);

    List<Destination> listByParentId(Long parentId);


    Destination getCountry(Long id);

    Destination getProvince(Long id);

    List<Destination> list();
}
